home *** CD-ROM | disk | FTP | other *** search
/ IRIX 5.3 for Indy R4400 / IRIX 5.3 for Indy R4400 175MHz.img / dist / eoe2.idb / usr / share / catman / u_man / cat6 / mag.z / mag
Text File  |  1995-02-28  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4. MMMMAAAAGGGG((((6666DDDD))))                                                                MMMMAAAAGGGG((((6666DDDD))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      mag - pixel replication and magnification in a window
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////ssssbbbbiiiinnnn////mmmmaaaagggg [[[[iiiinnnntttteeeeggggeeeerrrr]]]]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _M_a_g copies and enlarges areas of the screen. The _m_a_g program demonstrates
  16.      pixel reading and writing on the IRIS.  The area of the screen copied is
  17.      chosen by the user with the mouse.  The power of magnification is an
  18.      integer value which must be entered into the command line.  If no integer
  19.      is specified, the default value of the power of magnification is 2.
  20.  
  21.      Operator control of this demo is strictly with the mouse.
  22.  
  23.           Mouse buttons   Function
  24.  
  25.           left            pick area on screen under cursor
  26.           right           _m_a_g pop-up menu
  27.  
  28.      It is important to note that the program needs to maintain input focus
  29.      when selecting a region under the cursor.  This can be achieved by
  30.      positioning the cursor in the _m_a_g window and then depressing
  31.      either the Shift or Ctrl key.  While continuing to hold the key, move
  32.      the cursor to the desired location on the screen and click the Left
  33.      mouse button.
  34.  
  35. CCCCOOOOMMMMMMMMEEEENNNNTTTTSSSS
  36.      Values of magnification greater than 2 significantly degrade the
  37.      magnified image.
  38.  
  39.      Trying to magnify the _m_a_g window causes some inexplicable results.
  40.  
  41.      Sometimes, when the window manager is in double buffer mode, the area
  42.      magnified appears in the wrong color.  The _m_a_g program works best in
  43.      single buffer mode.
  44.  
  45. BBBBUUUUGGGGSSSS
  46.      In release 4.0, there is a known problem with _m_a_g on VGX machines
  47.      relating to the use of subpixel.  The symptom is the initial appearance
  48.      of a grid inside the _m_a_g window even when the popup menu item "grid off"
  49.      is selected.  The workaround for this is to change the line in the source
  50.      for _m_a_g, located at /usr/people/4Dgifts/iristools/tools/_m_a_g._c that reads
  51.  
  52.           subpixel(1);
  53.  
  54.      to read
  55.  
  56.           subpixel(0);
  57.  
  58.      This is not the best solution but it will work.  The problem here centers
  59.      on old-style drawing commands like rectfi and point sampled polygons
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. MMMMAAAAGGGG((((6666DDDD))))                                                                MMMMAAAAGGGG((((6666DDDD))))
  71.  
  72.  
  73.  
  74.      which are turned on with subpixel(1).  This program will be revamped to
  75.      not use rectfi and the math will consequently be "changed by one" as
  76.      well.
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.